package com.kmust.dream.wanderingdream.product.service;

import com.kmust.dream.wanderingdream.comm.pojo.ResultBean;
import com.kmust.dream.wanderingdream.product.entity.ProductPropertyName;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Collection;

/**
 *
 */
public interface ProductPropertyNameService extends IService<ProductPropertyName> {

    ResultBean getPropertyNameByPropertyNameId(Integer productPropertyNameId);

    ResultBean addProductPropertyName(ProductPropertyName productPropertyName);

    ResultBean updateProductPropertyName(ProductPropertyName productPropertyName);

    ResultBean deleteProductPropertyName(Integer productPropertyNameId);

    ResultBean getAllPropertyNames();

    ResultBean getPropertyNameByCategoryId(Integer categoryId);

    ResultBean getPropertyNames(Integer productId);

    ResultBean getPropertyNameByProductId(Integer productId);
}
